<?php
/**
 * index.php
 * 
 * all requests pass through this file
 * 
 * Why this file and a separate bootstrap? Why the rootDirectory here? Well, imho
 * it's a good idea to keep the "public" directory separated from the rest. Think
 * about users on shared hosts. They will want their "public" to be the root with 
 * the rest being in a sub-directory of it.
 * 
 * @category 	Madoqua
 * @package 	Bootstrap
 * @subpackage 	Front
 */
ini_set('register_globals', 'off');
ini_set('magic_quotes_gpc', 'off');
ini_set('session.autostart', 'off');
ini_set('short_open_tag', 'on');

$rootDirectory = realpath(getcwd()) . DIRECTORY_SEPARATOR . 'madoqua_private';
//root directory for application

include $rootDirectory . DIRECTORY_SEPARATOR . 'application/bootstrap.php';
// go go dikdik!